package com.cyys.service.impl;

import com.cyys.entity.Orders;
import com.cyys.mapper.OrdersMapper;
import com.cyys.service.OrdersService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Long
 * @since 2022-06-17
 */
@Service
public class OrdersServiceImpl extends ServiceImpl<OrdersMapper, Orders> implements OrdersService {

    @Autowired
    private  OrdersMapper ordersMapper;

    @Override
    public List<Orders> getOrdersList(Integer id) {
        return ordersMapper.getOrdersList(id);
    }

    @Override
    public List<Orders> getOrdersListMini(Integer mini_id) {
        return ordersMapper.getOrdersListMini(mini_id);
    }

    @Override
    public List<Orders> listId(Integer id) {
        return ordersMapper.listId(id);
    }

    @Override
    public List<Orders> listStatesId1(Integer mini_id) {
        return ordersMapper.listStatesId1(mini_id);
    }

    @Override
    public List<Orders> listStatesId2(Integer mini_id) {
        return ordersMapper.listStatesId2(mini_id);
    }

    @Override
    public List<Orders> listStatesId3(Integer mini_id) {
        return ordersMapper.listStatesId3(mini_id);
    }

    @Override
    public List<Orders> listStatesId4(Integer mini_id) {
        return ordersMapper.listStatesId4(mini_id);
    }

    @Override
    public List<Orders> listStatesId5(Integer mini_id) {
        return ordersMapper.listStatesId5(mini_id);
    }

    @Override
    public List<Orders> listStatesId6(Integer mini_id) {
        return ordersMapper.listStatesId6(mini_id);
    }
}
